]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
data: Strip .desktop suffix from folder directory
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 8 Nov 2024 12:57:58 +0000 (13:57 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 13 Nov 2024 10:26:00 +0000 (10:26 +0000)
Desktop directories use .directory as suffix, not .directory.desktop.

The suffix is still needed for the source file, so xgettext and
damned lies can correctly infer the type, but strip it from the
output file.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3541>

data/meson.build

index 87787bfdca6d4939951d76d79e635d64571d9f01..1d2347d4d54a77ec5c5d5e0e9cba25626bb4e1a8 100644 (file)
@@ -34,7 +34,7 @@ endforeach
 
 i18n.merge_file(
   input: 'X-GNOME-Shell-Utilities.directory.desktop.in',
-  output: '@BASENAME@',
+  output: '@BASENAME@'.replace('.desktop', ''),
   po_dir: po_dir,
   install: true,
   install_dir: join_paths(datadir, 'desktop-directories'),